package org.eiahe.hr.attendance.domain.bo;

import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.ehe.common.mybatis.core.domain.BaseEntity;
import org.eiahe.hr.attendance.domain.AttendanceAlert;

/**
 * 考勤异常提醒业务对象
 *
 * @author zhangnn
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = AttendanceAlert.class, reverseConvertGenerate = false)
public class AttendanceAlertBo extends BaseEntity {

    /**
     * 提醒ID
     */
    private Long alertId;

    /**
     * 工号
     */
    private String employeeNo;

    /**
     * 员工姓名(查询用)
     */
    private String employeeName;

    /**
     * 用户ID
     */
    private Long userId;

    /**
     * 提醒类型(1迟到 2早退 3旷工 4未审批加班)
     */
    private String alertType;

    /**
     * 关联记录ID(考勤记录ID或加班记录ID)
     */
    private Long relatedId;

    /**
     * 关联记录类型(1考勤记录 2加班记录)
     */
    private String relatedType;

    /**
     * 提醒日期
     */
    private java.time.LocalDate alertDate;

    /**
     * 提醒内容
     */
    private String alertContent;

    /**
     * 处理状态(0未处理 1已处理)
     */
    private String processStatus;

    /**
     * 处理时间
     */
    private java.time.LocalDateTime processTime;

    /**
     * 处理人
     */
    private String processor;

    /**
     * 备注
     */
    private String remark;
}
